module.exports = {
  "title": "数字互联",
  "description": "成功路上并不拥挤, 因为坚持的人不多",
  "dest": "public",
  "base": '/blog/',
  "head": [
    [
      "link",
      {
        "rel": "icon",
        "href": "/favicon.ico"
      }
    ],
    [
      "meta",
      {
        "name": "viewport",
        "content": "width=device-width,initial-scale=1,user-scalable=no"
      }
    ]
  ],
  "theme": "reco",
  "themeConfig": {
    "subSidebar": "auto",
    "sidebar": true,
    "nav": [
      {
        "text": "首页",
        "link": "/blogs/index/",
        // "icon": "reco-home"
      },
      {
        "text": "时间线",
        "link": "/timeline/",
        // "icon": "reco-date"
      },
      {
        "text": "文档系列",
        "icon": "reco-message",
        "items": [
          {
            "text": "基础系列",
            "link": "/blogs/interview/base/propeType"
          },
          {
            "text": "CSS",
            "link": "/blogs/css/base/introduce.md"
          },
          {
            "text": "JavaScript入坑系列",
            "link": "/blogs/javaScript/base/what-is-javascript"
          },
          {
            "text": "TypeScript入坑系列",
            "link": "/blogs/typeScript/base/what-is-typescript"
          },
          {
            "text": "vue-router系列",
            "link": "/blogs/router/base/introduction"
          },
          {
            "text": "pinia",
            "link": "/blogs/pinia/base/introduce"
          },
          {
            "text": "微信小程序",
            "link": "/blogs/wx/base/chapter1"
          },
          {
            "text": "Vue3",
            "link": "/blogs/vue3/base/about"
          },
          {
            "text": "Nest.js",
            "link": "/blogs/nest/base/introduction"
          },
          {
            "text": "计算机网络",
            "link": "/blogs/network/base/networkModel"
          },
          {
            "text": "杂记",
            "link": "/blogs/notes/base/introduce"
          },
          {
            "text": "项目遇到那些事",
            "link": "/blogs/project/base/introduce"
          }
          
        ]
      }
    ],
    "sidebar": {
      '/blogs/vue3/':[
        'base/about',
        'base/newFeatures',
        'base/createProject',
        'base/nvm',
        'base/plugin',
        'base/template',
        'base/ref',
        'base/reactive',
        'base/to',
        'base/watch',
        'base/watchEffect',
        'base/life',
        'base/style',
        'base/props',
        'base/components',
        'base/components2',
        'base/components2',
        'base/slot',
        'base/youhua',
        'base/Teleport',
        'base/keepAlive',
        'base/transition1',
        'base/transition2',
        'base/provide',
        'base/transParams',
        'base/vModel',
        'base/directive',
        'base/autoImport',
        'base/hooks',
        'base/global',
        'base/pluginBySelf',
        'base/deepChange',
        'base/style2',
        'base/Tailwind',
        'base/nextTick',
        'base/mitt',
        'base/mobile',
        'base/unocss',
        'base/h',
      ],
      '/blogs/wx/':[
        'base/chapter1',
      ],
      '/blogs/interview/':[
        'base/propeType',
        'base/deepClone',
        'base/closure',
        'base/throttleAndDebounce',
      ],
      '/blogs/router/':[
        'base/introduction',
        'base/named-routes',
        'base/history-mode',
        'base/passing-props',
        'base/nested-routes',
        'base/named-views',
        'base/redirect-and-alias',
        'advance/navigation-guards',
        'advance/meta',
        'advance/transitions',
        'advance/scroll-behavior',
        'advance/dynamic-routing',
      ],
      '/blogs/pinia/':[
        'base/introduce',
        'base/store',
        'base/state',
        'base/storeToRef',
        'base/getters',
        'base/actions',
        'base/API',
        'base/plugin'
      ],
      '/blogs/javaScript/': [
        {
          title: 'javaScript（导论）',
          collapsable: true,
          children: [
            'base/what-is-javascript',
            'base/basic-syntax',

          ]
        },
        {
          title: 'javaScript（数据类型）',
          collapsable: true,
          children: [
            'dataType/what-is-dataType',
            'dataType/number',
            'dataType/boolean',
            'dataType/string',
            'dataType/null-undefined',
            'dataType/array',
            'dataType/object',
            'dataType/docs-types-function'
          ]
        },
        {
          title: 'javaScript（运算符）',
          collapsable: true,
          children: [
            'operators/operators-arithmetic',
            'operators/operators-comparison',
            'operators/operators-boolean',
          ]
        },
        {
          title: 'javaScript（语法专题）',
          collapsable: true,
          children: [
            'features/features-conversion',
            'features/features-error',
            'features/features-style',
          ]
        },
        {
          title: 'javaScript（标准库）',
          collapsable: true,
          children: [
            'stdlib/stdlib-object',
            'stdlib/stdlib-attributes',
            'stdlib/stdlib-array',
            'stdlib/stdlib-wrapper',
            'stdlib/stdlib-boolean',
            'stdlib/stdlib-number',
            'stdlib/stdlib-string',
            'stdlib/stdlib-math',
            'stdlib/stdlib-date',
            'stdlib/stdlib-regexp',
            'stdlib/stdlib-json',
          ]
        },
        {
          title: '面向对象编程',
          collapsable: true,
          children: [
            'oop/oop-new',
            'oop/oop-this',
            'oop/oop-prototype',
            'oop/oop-object',
            'oop/oop-strict',
          ]
        },
        {
          title: '异步操作',
          collapsable: true,
          children: [
            'async/async-general',
            'async/async-timer',
            'async/async-promise',
          ]
        },
        {
          title: 'DOM',
          collapsable: true,
          children: [
            'dom/docs-dom-general',
            'dom/docs-dom-node',
            'dom/docs-dom-nodelist',
            'dom/docs-dom-parentnode',
            'dom/docs-dom-document',
            'dom/docs-dom-element',
            'dom/docs-dom-attributes',
            'dom/docs-dom-text',
            'dom/docs-dom-css',
            'dom/docs-dom-mutationobserver',
          ]
        },
        {
          title: '事件',
          collapsable: true,
          children: [
            'events/docs-events-eventtarget',
            'events/docs-events-model',
            'events/docs-events-event',
            'events/docs-events-mouse',
            'events/docs-events-keyboard',
            'events/docs-events-progress',
            'events/docs-events-form',
            'events/docs-events-touch',
            'events/docs-events-drag',
            'events/docs-events-common',
            'events/docs-events-globaleventhandlers'
          ]
        },
        {
          title: '浏览器模型',
          collapsable: true,
          children: [
            'bom/docs-bom-engine',
            'bom/docs-bom-window',
            'bom/docs-bom-navigator',
            'bom/docs-bom-cookie',
            'bom/docs-bom-xmlhttprequest',
            'bom/docs-bom-same-origin',
            'bom/docs-bom-cors',
            'bom/docs-bom-storage',
            'bom/docs-bom-history',
            'bom/docs-bom-location',
            'bom/docs-bom-arraybuffer',
            'bom/docs-bom-file',
            'bom/docs-bom-form',
            'bom/docs-bom-webwork'
          ]
        },
        {
          title: 'indexedDB',
          collapsable: true,
          children: [
            'indexedDB/docs-indexeddb',
            'indexedDB/docs-indexeddb-operation',
            'indexedDB/docs-indexeddb-indexeddb',
            'indexedDB/docs-indexeddb-IDBRequest',
            'indexedDB/docs-indexeddb-IDBDatabase',
            'indexedDB/docs-indexeddb-IDBObjectStore',
            'indexedDB/docs-indexeddb-IDBTransaction',
            'indexedDB/docs-indexeddb-IDBIndex',
            'indexedDB/docs-indexeddb-IDBCursor',
            'indexedDB/docs-indexeddb-IDBKeyRange'
          ]
        }
      ],
      '/blogs/typeScript/': [
        {
          title: 'TypeScript（基础）',
          collapsable: false,
          children: [
            'base/what-is-typescript', 
            'base/get-environment',
            'base/primitive-data-types',
            'base/any',
            'base/type-inference',
            'base/union-types',
            'base/type-of-object-interfaces',
            'base/type-of-array',
            'base/type-of-function',
            'base/type-assertion',
            'base/type-aliases',
            'base/string-literal-types',
            'base/tuple-enum',
            'base/d-ts',

            'base/objects.md',
            'base/tsconfig',
            'base/three-slash',
            'base/namespace',
            'base/rollup'
          ]
        },
        {
          title: 'TypeScript（进阶）',
          collapsable: false,
          children: [
            'advanced/class',
            'advanced/class-and-interfaces',
            'advanced/generics',
            'advanced/declaration-merging',

          ]
        }
      ],
      '/blogs/nest/':[
        'base/introduction',
        'base/concept',
        'base/decorator',
        'base/cli',
        'base/cli-command'

      ],
      '/blogs/network/':[
        'base/networkModel',
        'base/httpCache',
        'base/correspond',
        'base/http2',
        'base/https',
      ],
      '/blogs/notes/':[
        'base/introduce',
        'base/reg'
      ],

      '/blogs/css/':[
        'base/introduce',
        'base/ellipsis',
      ],

      '/blogs/project/':[
        'base/introduce',
        'base/download-img',
        'base/download-file',

      ],
     
    },
    "type": "blog",
    "blogConfig": {
      // "category": {
      //   "location": 2,
      //   "text": "分类",
      //   "icon":''
      // },
      "tag": {
        "location": 3,
        "text": "标签",
        "icon":''
      }
    },
    "friendLink": [
      // {
      //   "title": "午后南杂",
      //   "desc": "Enjoy when you can, and endure when you must.",
      //   "email": "1156743527@qq.com",
      //   "link": "https://www.recoluan.com"
      // },
      // {
      //   "title": "vuepress-theme-reco",
      //   "desc": "A simple and beautiful vuepress Blog & Doc theme.",
      //   "avatar": "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
      //   "link": "https://vuepress-theme-reco.recoluan.com"
      // }
    ],
    "logo": "/logo.png",
    "search": true,
    "searchMaxSuggestions": 10,
    // "lastUpdated": "最后更新",
    "author": "XiaoLiJian",
    "authorAvatar": "/avatar.png",
    "record": "xxxx",
    "startYear": "2021"
  },
  "markdown": {
    "lineNumbers": true
  },
  "plugins": [
    // "sakura", {
    //   num: 20,  // 默认数量
    //   show: true, //  是否显示
    //   zIndex: -1,   // 层级
    //   img: {
    //     replace: false,  // false 默认图 true 换图 需要填写httpUrl地址
    //     httpUrl: 'https://www.zpzpup.com/assets/image/sakura.png'     // 绝对路径
    //   }     
    // }
  ],
  configureWebpack: {
    resolve: {
      alias: {
        '@': '../../../'
      }
    }
  }
  
}